<?php
class Fencer_Form_Form extends Zend_Form
{

    public function loadDefaultDecorators()
    {
        foreach($this->getElements() as $element){

            $element->addPrefixPath('Fencer_Form_Decorator', 'Fencer/Form/Decorator', 'decorator' );

            $element->setDecorators(array(
                'ViewHelper',
                array('Description', array('tag'=>'a', 'title'=>'teste', 'id'=>'teste2')),
                'Errors',
//                'SimpleLabel',
                array(array('data'=>'HtmlTag'), array('tag' => 'td')),
                array('Label', array('tag'=>'td')),
                array(array('row'=>'HtmlTag'),array('tag'=>'tr')),
            ));
        }

       $this->setDecorators(array(
               'FormElements',
               array(array('data'=>'HtmlTag'),array('tag'=>'table')),
               'Form'
       ));
    }
}